package com.ruoyi.archiveCabinet.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 档案管理对象 archive_cabinet
 * 
 * @author lijie
 * @date 2025-03-19
 */
public class ArchiveCabinet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long archiveId;

    /** 档案名称 */
    @Excel(name = "档案名称")
    private String archiveName;

    /** 档案描述 */
    @Excel(name = "档案描述")
    private String archiveDescription;
    private String archiveDescription1;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    private String creater;

    public Long getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(Long archiveId) {
        this.archiveId = archiveId;
    }

    public void setArchiveName(String archiveName)
    {
        this.archiveName = archiveName;
    }

    public String getArchiveName() 
    {
        return archiveName;
    }
    public void setArchiveDescription(String archiveDescription) 
    {
        this.archiveDescription = archiveDescription;
    }

    public String getArchiveDescription() 
    {
        return archiveDescription;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreater() {
        return creater;
    }

    public void setCreater(String creater) {
        this.creater = creater;
    }

    public String getArchiveDescription1() {
        return archiveDescription1;
    }

    public void setArchiveDescription1(String archiveDescription1) {
        this.archiveDescription1 = archiveDescription1;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("archiveName", getArchiveName())
            .append("archiveDescription", getArchiveDescription())
            .toString();
    }
}
